﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PropertyCreator
{
    /// <summary>
    /// 数据表属性
    /// </summary>
    public class TableRow
    {
        public TableRow()
        {
            this.ColName = string.Empty;
            this.IsPk = false;
            this.ColType = string.Empty;
            this.ColLength = string.Empty;
            this.Comment = string.Empty;
            this.IsNull = true;
            this.IsIdentity = false;
        }

        public string ColName { set; get; }
        public bool IsPk { set; get; }
        public string ColType { set; get; }
        public string ColLength { set; get; }
        public string Comment { set; get; }
        public bool IsNull { set; get; }
        public bool IsIdentity { get; set; }
    }
}
